import { axios } from '@/utils/request'



// 分页查询
export function pages(data) {
  return axios({
    url: '/analysis/template/pages',
    method: 'post',
    data: data
  })
}

// 获取信息
export function getOne(id) {
  return axios({
    url: '/analysis/template/getOne/'+id,
    method: 'get'
  })
}



// 新增、编辑
export function save(data) {
  return axios({
    url: '/analysis/template/add',
    method: 'post',
    data: data
  })
}


// 删除
export function del(ids) {
  return axios({
    url: '/analysis/template/del',
    method: 'delete',
    data: ids
  })
}